﻿using Microsoft.EntityFrameworkCore;
using MS.Common.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MS.Common.Infr
{
    public class DataDbContext:DbContext
    {
        public DataDbContext(DbContextOptions<DataDbContext> options) : base(options) { }
        /// <summary>
        /// 用户表
        /// </summary>
        public DbSet<Users> Users { get; set; }
        /// <summary>
        /// 商品表
        /// </summary>
        public DbSet<ShangPin> ShangPins { get; set; }
        /// <summary>
        /// 养殖表
        /// </summary>
        public DbSet<YangZhi> YangZhis { get; set; }
        /// <summary>
        /// 保健表
        /// </summary>
        public DbSet<BaoJian> BaoJians { get; set; }
        /// <summary>
        /// 企业表
        /// </summary>
        public DbSet<QiYe> QiYes { get; set; }
        /// <summary>
        /// 产品检验
        /// </summary>
        public DbSet<JianYan> JianYans { get; set; }
        /// <summary>
        /// 动检证
        /// </summary>
        public DbSet<DongJian> DongJians { get; set; }
        /// <summary>
        /// 企业照片
        /// </summary>
        public DbSet<QiYeTu> QiYeTus { get; set; }
    }
}
